cd ../src/

SET CGO_ENABLED=0
SET GOOS=darwin
SET GOARCH=amd64

go build -ldflags "-s -w" -o snake.mac main.go

rm ../bin/snake.mac
mv snake.mac ../bin

cd ../
start bin

echo build finish...